<template>
	 <ul>
        <li v-for="(item,index) in list" :key="index">
          <nuxt-link :to="'/info/vehicle/'+item.vehicleinfoId">
                <div class="car-pic">
                      <img :src="FileUploadUrl2+item.vehiclePics">
                </div>
                <div class="car-price">
                      <div v-if="item.expectedPrice">运价:<i>{{item.expectedPrice}}</i><span>元起</span></div>
                      <div v-if="!item.expectedPrice">运价:<i>面议</i></div>
                </div>
                <div class="car-kg">
                      <span>车长：{{item['length'] || '-'}}米</span>
                      <span>载重：{{item.weight || '-'}}吨</span>
                </div>
            </nuxt-link>
        </li>
    </ul>
</template>
<script>	
import { environment } from '@/server/environment'
   export default{
		  props: {
        list: {
          default: () => []
        }
    },
    data(){
      return{
         FileUploadUrl2:environment.FileUploadUrl2,
      }
    }
	}
</script>
<style lang="scss">

</style>